//
//  ZCRedExplainCell.m
//  zctx
//
//  Created by apple on 16/1/22.
//  Copyright © 2016年 sanliang. All rights reserved.
//

#import "ZCRedExplainCell.h"

@implementation ZCRedExplainCell

- (void)awakeFromNib {
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.titleLable.textColor = [UIColor colorWithHexString:@"#404040"];
    self.contentLable.textColor = [UIColor colorWithHexString:@"#8a8a8a"];
}

-(void)setIndex:(NSIndexPath *)index{
    _index = index;
    if (index.row==0) {
        self.titleLable.text = @"红包怎么获取？";
        self.contentLable.text = @"打开好友分享的项目链接即可领取红包。";
    }else if(index.row==1){
        self.titleLable.text = @"红包能拆开使用吗？";
        self.contentLable.text = @"不能，一个红包只能使用一次，不能分开使用。";
    }else{
        self.titleLable.text = @"红包能够找零兑现吗？";
        self.contentLable.text = @"红包不能够找零兑现，平台发起或者跟投项目付费时，优先使用红包余额支付。";
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
